const $ = (dom) => document.querySelector(dom);
window.addEventListener('mousemove',(e)=>{

    let percentage = (100 - e.clientX / window.innerWidth * 100);
    $('.sun').style.clipPath = `inset(0px ${percentage}% 0 0)`;

})